class StaticPagesController < ApplicationController

  def get_data

  end

  def home
    if signed_in?
      store_back_location
      @micropost = current_user.microposts.build
      @feed_items = current_user.feed.paginate(page:params[:page],per_page:5)
    end
  end

  def help
  end

  def about
  end

  def contact
  end
end
